using System;

namespace BlogBackUp
{
    public delegate void DefaultAdressEventHandler(Object sender, DefaultAdressEventArgs e);

    public class DefaultAdressEventArgs : EventArgs
    {
        private int index = 0;

        public int Index
        {
          get { return index; }
          set { index = value; }
        }
        public  DefaultAdressEventArgs() : base() { }
        public  DefaultAdressEventArgs(int i) 
            :base()
        {
            index = i;
        }       
    }

    public delegate void DownloadAdressEventHandler(Object sender, DownloadAdressEventArgs e);

    public class DownloadAdressEventArgs : EventArgs
    {
        private String adress = "";

        public String Adress
        {
            get { return adress; }
            set { adress = value; }
        }

        public DownloadAdressEventArgs() : base() { }
        public DownloadAdressEventArgs(String str)
            : base()
        {
            adress = str;
        }
    }

    public enum HandleState
    {
        AllAdresses,
        DownloadFiles,
        None
    }
}